#ifndef SOUND_RENDERER_H
#define SOUND_RENDERER_H

#include "..\..\include\audio\sound.h"

///
/// \class SoundRenderer sound_renderer.h "include\audio\sound_renderer.h"
/// \brief Provides an interface through which Sound objects can be played.
///
/// \note Known limitations: The renderer cannot currently play more than one
/// sound at once. The current song has to be stopped for another to be played.
///

class SoundRenderer
{
  public:
	SoundRenderer();
	~SoundRenderer();
	
	void play(Sound*);
	void stop();
	bool isPlaying();
	
  private:
	bool initializeLibrary();
	bool exitLibrary();
};

#endif // SOUND_RENDERER_H